/**
 * 
 */
package com.baiyi.cloud.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.baiyi.cloud.platform.annotation.EnableLogging;


@Configuration
@EnableApolloConfig
@EnableLogging
@EnableDiscoveryClient
@SpringBootApplication
public class ToolsCenterApp {
	
	public static void main(String[] args) {
//		固定端口启动
		SpringApplication.run(ToolsCenterApp.class, args);
		
/*		//随机端口启动
		SpringApplication app = new SpringApplication(ToolsCenterApp.class);
        app.addListeners(new PortApplicationEnvironmentPreparedEventListener());
        app.run(args);*/
		
	}

}
